package com.bangcommunity.bbframe.mq.producer;

import java.io.Serializable;

/**
 * Created by tanghc on 17/2/4.
 */
public interface IQtProducer {
    <T extends Serializable> String sendAsyn(String topic, T o);

    <T extends Serializable> String sendAsyn(String topic, T o, final IQtCallback callback);

    <T extends Serializable> String sendSync(String topic, T o);
}
